﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DebugWiki.aspx.cs" Inherits="EPiServer.Research.Wiki.Pages.DebugWiki" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h1>Debug Wiki</h1>
    
    <br />
    <h2>Wiki Page Name Mapping</h2><br />
    
    <asp:Repeater runat="server" DataSource='<%# RootWikis() %>'>
    <ItemTemplate>
        <h3><EPiServer:Property ID="Property1" runat="server" PropertyName="PageLink" /></h3>
        <ul>
        <asp:Repeater runat="server" DataSource='<%# WikiNames(((EPiServer.Core.PageData)Container.DataItem).PageLink) %>'>
        <ItemTemplate>
            <li><%# Container.DataItem %></li>
        </ItemTemplate>
        </asp:Repeater>
        </ul><br /><br />
    </ItemTemplate>
    </asp:Repeater>
    <hr />
    </div>
    </form>
</body>
</html>
